import request from '@/utils/request'

// 查询收费统计列表
export function listPaymentStatistics(query) {
  return request({
    url: '/system/paymentStatistics/list',
    method: 'get',
    params: query
  })
}
//
// 查询收费统计详细
export function getPaymentStatistics(id) {
  return request({
    url: '/system/paymentStatistics/' + id,
    method: 'get'
  })
}

// 新增收费统计
export function addPaymentStatistics(data) {
  return request({
    url: '/system/paymentStatistics',
    method: 'post',
    data: data
  })
}

// 修改收费统计
export function updatePaymentStatistics(data) {
  return request({
    url: '/system/paymentStatistics',
    method: 'put',
    data: data
  })
}

// 删除收费统计
export function delPaymentStatistics(id) {
  return request({
    url: '/system/paymentStatistics/' + id,
    method: 'delete'
  })
}
